home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / irix3-3.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  3.1 KB  |  105 lines

  1. /* Definitions file for GNU Emacs running on Silicon Graphics Irix system 3.3.
  2.    Copyright (C) 1987,1990 Free Software Foundation, Inc.
  3.  
  4. This file is part of GNU Emacs.
  5.  
  6. GNU Emacs is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2, or (at your option)
  9. any later version.
  10.  
  11. GNU Emacs is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14. GNU General Public License for more details.
  15.  
  16. You should have received a copy of the GNU General Public License
  17. along with GNU Emacs; see the file COPYING.  If not, write to
  18. the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
  19.  
  20. /* Synched up with: FSF 19.29. */
  21.  
  22. /*
  23.  *    Define symbols to identify the version of Unix this is.
  24.  *    Define all the symbols that apply correctly.
  25.  */
  26.  
  27. #define USG
  28. #define USG5
  29. #define IRIS
  30. #ifndef IRIX
  31. #define IRIX
  32. #endif
  33.  
  34. /* SYSTEM_TYPE should indicate the kind of system you are using.
  35.  It sets the Lisp variable system-type.  */
  36.  
  37. #define SYSTEM_TYPE "irix"
  38.  
  39. /* Letter to use in finding device name of first pty,
  40.   if system supports pty's.  'a' means it is /dev/ptya0  */
  41.  
  42. #define FIRST_PTY_LETTER 'a'
  43.  
  44. /*
  45.  *    Define HAVE_PTYS if the system supports pty devices.
  46.  */
  47.  
  48. #define HAVE_PTYS
  49.  
  50. /* If your system uses COFF (Common Object File Format) then define the
  51.    preprocessor symbol "COFF". */
  52.  
  53. /* #define COFF */
  54.  
  55. /* define MAIL_USE_FLOCK if the mailer uses flock
  56.    to interlock access to /usr/spool/mail/$USER.
  57.    The alternative is that a lock file named
  58.    /usr/spool/mail/$USER.lock.  */
  59.  
  60. #define MAIL_USE_FLOCK
  61.  
  62. /* The file containing the kernel's symbol table is called /unix.  */
  63.  
  64. #define KERNEL_FILE "/unix"
  65.  
  66. /* The symbol in the kernel where the load average is found
  67.    is named _avenrun.  */
  68.  
  69. #define LDAV_SYMBOL "avenrun"
  70.  
  71.  
  72. /* On USG systems the system calls are interruptible by signals
  73.  that the user program has elected to catch.  Thus the system call
  74.  must be retried in these cases.  To handle this without massive
  75.  changes in the source code, we remap the standard system call names
  76.  to names for our own functions in sysdep.c that do the system call
  77.  with retries. */
  78.  
  79. #define INTERRUPTIBLE_OPEN
  80. #define INTERRUPTIBLE_IO
  81.  
  82. /* XEmacs change -- SGI apparently has a bogus version of memmove,
  83.    which causes ralloc.c great pain.  However, bcopy works, so use that.
  84.    From Paul Flinders <ptf@delcam.co.uk>
  85.    (Resist the temptation to put parens around the args in the expansion.
  86.    Existence is suffering.)
  87.  */
  88. #define memmove(to, from, len) bcopy (from, to, len)
  89.  
  90. /* USG systems tend to put everything declared static
  91.    into the initialized data area, which becomes pure after dumping Emacs.
  92.    Foil this.  Emacs carefully avoids static vars inside functions.  */
  93.  
  94. /* #define static */
  95.  
  96. /* This is how to get the device name of the tty end of a pty.  */
  97. #define PTY_TTY_NAME_SPRINTF \
  98.          sprintf (ptyname, "/dev/ttyq%d", minor (stb.st_rdev));
  99.  
  100.  
  101. /* sioctl.h should be included where appropriate.  */
  102.  
  103. #define NEED_SIOCTL
  104.  
  105.